package com.lmx.tour_management_system.pojo;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author lmx
 * @since 2021-01-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("attractions")
public class Attraction implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 景点id
     */
    @TableId(type = IdType.AUTO)
    private Integer attractionId;

    /**
     * 景点名
     */
    private String attractionName;

    /**
     * 景点所在城市
     */
    private String attractionCity;

    /**
     * 景点介绍
     */
    private String attractionText;

    /**
     * 景点图片（相对路径
     */
    private String attractionPic;

    /**
     * 景点详细地址
     */
    private String attractionAddress;

    /**
     * 景点联系人电话
     */
    private String attractionPhone;

    /**
     * 景点联系人姓名
     */
    private String attractionContacter;

    /**
     * 景点人均消费
     */
    private Integer attractionCost;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
